package Solar;

import java.awt.Graphics;
import java.awt.Image;
import java.util.GregorianCalendar;

import Util.GameUtil;

public class Star {

	double x,y;
	
	Image img;
	
    public void draw(Graphics g){
    	g.drawImage(img, (int)x, (int)y,30,30,null);
    }

    public Star(){}
    
    public Star(Image img,double x,double y){
    	this.img=img;
    	this.x=x;
    	this.y=y;
    	
    	
    }
    
    public Star(String imgpath,double x,double y){
    	this.img=GameUtil.getImage(imgpath);
    	this.x=x;
    	this.y=y;
    	
    	
    	
    }
}
